thank (one's) lucky stars

Translations
благодарить (свои) счастливые звезды
You should thank your lucky stars that you weren't hurt in the accident.
Тебе следует благодарить свои счастливые звезды, что ты не пострадал в аварии.
Definitions
To be very grateful or thankful for something fortunate that has happened, often implying that luck or fate played a role in the positive outcome.